<%@ include file="/view/template/header.jsp"%>

<div id="content">
	<%@ include file="/view/supply_chain/pharmacy_all.jsp"%>
	<div class="right-content">
		<div class="box">
			<!-- <div class="sub_box"> -->
				<h1><s:text name="menu.supply_chain.drugs_given_to_a_patient_search_results"></s:text></h1>
				<s:form action="search_patient_drugs_given_to_patient_results_form"
					method="post">
					<s:if test="action.prescriptionDrugsList.size > 0">
						<s:iterator value="action.prescriptionDrugsList">
							<div class="sub_box">
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.dispenseId"
											cssClass="label_text">
										</s:label>
										<img name="required" src="<% out.print(baseURL);%>/view/required.jpg" width="15" height="20" alt="required" />
									</span>
									<s:textfield name="prescribeDrugs.dispenseId"
										key="prescribeDrugs.dispenceId" class="input-text"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.patientId"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="prescriptionDrugs.patientId"
										key="prescriptionDrugs.patientId" class="input-text" readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.drugId"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="drugId"
										key="drugId" class="input-text" readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.drugName"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="drugName"
										key="drugName" class="input-text" readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.dosage"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="dosage"
										key="dosage" class="input-text" readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescriptionDrugs.minAmount"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="minAmount"
										key="minAmount" class="input-text" readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescriptionDrugs.maxAmount"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="maxAmount"
										key="maxAmount" class="input-text" readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.noOfIssues"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="prescribeDrugs.noOfIssues"
										key="prescribeDrugs.noOfIssues" class="input-text"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.dispensedquantity"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="dispencedQuantity"
										key="dispencedQuantity" class="input-text"
										readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescriptionDrugs.amountUnits"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="dispenceUnits"
										key="dispenceUnits" class="input-text"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.dispenseDate"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="requestDate"
										key="requestDate" class="input-text"
										readonly="true"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.prescribeNo"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="prescriptionNo"
										key="prescriptionNo" class="input-text"></s:textfield>
								</div>
								<div class="con-part">
									<span><s:label key="prescribeDrugs1.prescribedByID"
											cssClass="label_text">
										</s:label>
									</span>
									<s:textfield name="prescribeDrugs.prescribedByID"
										key="prescribeDrugs.prescribedByID" class="input-text"></s:textfield>
								</div>
							</div>
							<div class="button_bar2">
								<s:submit key="prescribeDrugs.submit" cssClass="green"
									align="center" />
							</div>
						</s:iterator>
					</s:if>					
				</s:form>
			</div>
		</div>
	</div>
<!-- </div> -->
<%@ include file="/view/template/footer.jsp"%>